{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>用户详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">ID</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="form-group">
                                <label class="layui-form-label">头像</label>
                                {if(!empty($info.user_image))}
                                <div class="input-group col-sm-4">
                                    <img id="user_image" class="img-circle" height="80px" style="float:left;margin-left: 50px;margin-top:5px;cursor:pointer;" src="{$info.user_image}" onclick='imgDisplay(this)'/>
                                </div>
                                {else /}
                                暂无图片
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">昵称</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_username}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">性别</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_sex==1 ? '男' : '女'}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">手机号</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_phone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">怼币</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_money}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">等级</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_level_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">注册时间</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_time}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">最后登录时间</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_logintime}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$info.user_status==1?'正常':'冻结'}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
